<template>
<el-container style="height:100%;">
    <el-header>命名规范</el-header>
    <el-container>
      <el-main style="height:100%;width:100%;">
	        <v-grid/>
	    </el-main>
    </el-container>
  </el-container>
</template>
<script>
import grid from "./view/Grid";
export default {
  name: "Index",
  data() {
    return {
      isCollapse: false,
      containerStyle:{
        height:'100%'
      }
    };
  },
  components: {
    "v-grid": grid,
  },
  created(){
    this.containerStyle.height=window.innerHeight-20+"px";
  },
  methods: {}
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
#index {
  height: 100%;
}
.el-header {
  line-height: 60px;
  text-align: start;
  background-color: #ccc;
}
.el-container {
  background-color: #fff;
}
.el-aside {
  background-color: #fff;
}
.el-main {
  padding: 0;
}
</style>
